package com.ccloud.api.motorfactory.service.impl;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ccloud.api.motorfactory.domain.MApplicationMotorModel;
import com.ccloud.api.motorfactory.mapper.MApplicationMotorModelMapper;
import com.ccloud.api.motorfactory.service.IMApplicationMotorModelService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 应用车型表 服务实现类
 * </p>
 *
 * @author chentl
 * @since 2022-04-09
 */
@Service
public class MApplicationMotorModelServiceImpl extends ServiceImpl<MApplicationMotorModelMapper, MApplicationMotorModel> implements IMApplicationMotorModelService {

    @Override
    public IPage<MApplicationMotorModel> selectPage(Page<MApplicationMotorModel> page, MApplicationMotorModel applicationMotorModel) {
        return baseMapper.selectPage(page, applicationMotorModel);
    }

    @Override
    public Integer maxVal() {
        return baseMapper.maxVal();
    }

    @Override
    public List<MApplicationMotorModel> getMap() {
        return baseMapper.getMap();
    }
}
